Socket
Socket
Sign inDemoInstall

get-uv-event-loop-napi-h

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-uv-event-loop-napi-h

C function to get the current libuv event loop for N-API


Version published
Maintainers
1
Created
Source

get-uv-event-loop-napi-h

C function to get the current libuv event loop for N-API

Greenkeeper badge

NPM Version NPM Downloads Build Status Coverage Status Dependency Status

Installation

Install with npm:

$ npm install get-uv-event-loop-napi-h

Usage

In your binding.gyp:

    'include_dirs': ["<!@(node -p \"require('get-uv-event-loop-napi-h').include\")"],

(Just have "<!@(node -p \"require('get-uv-event-loop-napi-h').include\")" somewhere in that list, ok?)

In your C code:

#include <get-uv-event-loop-napi.h>

uv_loop_t* loop = get_uv_event_loop(env);

Keywords

FAQs

Package last updated on 24 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc